import { prop_cur_req_time } from '../../../../../../../../../Classes/cla_req_cur_headers_info';
import { typ_log_describe } from '../../../Types';
import { log_describe_uni_float_operate } from './cla_log_describe_uni_float_operate';

const mdb_log_describe_uni_floatTag = 'mdb_log_describe_uni_float';

/**
 * 将 时间 和 操作类型
 *
 * 作为关键 信息 提出来
 */
export class mdb_log_describe_uni_float {
  get [Symbol.toStringTag]() {
    return mdb_log_describe_uni_floatTag;
  }

  constructor(log_describe_info: log_describe_uni_float_operate) {
    this.duoto_time = log_describe_info.uni_float_info[prop_cur_req_time];

    this.operate = log_describe_info.describe;

    this.detail_info = log_describe_info;
  }

  /**
   * 处理时间
   */
  duoto_time: string;

  /**
   * 操作 类型
   */
  operate: typ_log_describe;

  /**
   * 详细 操作
   */
  detail_info: log_describe_uni_float_operate;
}
